package communication;

import java.io.Serializable;

/**
 * Alarm class
 * @author Adrien Ledeul
 * @version 0.1
 */
public class Alarm  implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	private String date;
	private String place;
	private int priority; // 1 Low - 3 High
	
	/**
	 * Constructors
	 * 
	 */
	public Alarm(String date, String place, int priority) 
	{
		this.date = date;
		this.place = place;
		this.priority = priority;
	}

	/**
	 * Getters & Setters
	 * 
	 */
	public String getDate() 
	{
		return date;
	}

	public String getPlace() 
	{
		return place;
	}

	public int getPriority() 
	{
		return priority;
	}
}
